//-----------------------------------------------------------------------
// <copyright file="a_Users_SBase.cs" company="AACECOM">
//     Copyright (c) AACECOM. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace ThoiTrang.Entities
{
	[Serializable]
	public class a_Users_SBase
	{
		
		#region Variable Declarations
		private int				userID = 0;
		private string				cookieID = string.Empty;
		private string				login_Email = string.Empty;
		private bool				emailConfirmed = false;
		private string				password = string.Empty;
		private string				firstname = string.Empty;
		private string				lastname = string.Empty;
		private string				title = string.Empty;
		private string				gender = string.Empty;
		private int				orderPlacedToDate = 0;
		private decimal				amtSpentToDate = 0;
		private decimal				creditBalance = 0;
		private int				pointBalance = 0;
		private int				visitCount = 0;
		private int				hits = 0;
		private DateTime				lastVisit = new DateTime(1900,1,1,0,0,0,0);
		private DateTime				dateOpen = new DateTime(1900,1,1,0,0,0,0);
		private string				wLShareCode = string.Empty;
		private int				wLShareCount = 0;
		private bool				surveySent = false;
		private bool				isDelete = false;
		private bool				isActive = false;
		private bool				shipReCalc = false;
		private int				mainGroupID = 0;
		private int				subGroupID = 0;
		private int				domainID = 0;
		private string				city = string.Empty;
		private string				country = string.Empty;
		private string				aboutme = string.Empty;
		private string				nickname = string.Empty;
		private int				aucTransToDate = 0;
		private string				state = string.Empty;
		#endregion
		
		#region Constructors
		public a_Users_SBase() {}
		
		public a_Users_SBase (
			int userID,
			string cookieID,
			string login_Email,
			bool emailConfirmed,
			string password,
			string firstname,
			string lastname,
			string title,
			string gender,
			int orderPlacedToDate,
			decimal amtSpentToDate,
			decimal creditBalance,
			int pointBalance,
			int visitCount,
			int hits,
			DateTime lastVisit,
			DateTime dateOpen,
			string wLShareCode,
			int wLShareCount,
			bool surveySent,
			bool isDelete,
			bool isActive,
			bool shipReCalc,
			int mainGroupID,
			int subGroupID,
			int domainID,
			string city,
			string country,
			string aboutme,
			string nickname,
			int aucTransToDate,
			string state)
		
		{
			this.userID = userID;
			this.cookieID = cookieID;
			this.login_Email = login_Email;
			this.emailConfirmed = emailConfirmed;
			this.password = password;
			this.firstname = firstname;
			this.lastname = lastname;
			this.title = title;
			this.gender = gender;
			this.orderPlacedToDate = orderPlacedToDate;
			this.amtSpentToDate = amtSpentToDate;
			this.creditBalance = creditBalance;
			this.pointBalance = pointBalance;
			this.visitCount = visitCount;
			this.hits = hits;
			this.lastVisit = lastVisit;
			this.dateOpen = dateOpen;
			this.wLShareCode = wLShareCode;
			this.wLShareCount = wLShareCount;
			this.surveySent = surveySent;
			this.isDelete = isDelete;
			this.isActive = isActive;
			this.shipReCalc = shipReCalc;
			this.mainGroupID = mainGroupID;
			this.subGroupID = subGroupID;
			this.domainID = domainID;
			this.city = city;
			this.country = country;
			this.aboutme = aboutme;
			this.nickname = nickname;
			this.aucTransToDate = aucTransToDate;
			this.state = state;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int UserID
		{
			get { return userID; }
			set { userID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string CookieID
		{
			get { return cookieID; }
			set { cookieID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Login_Email
		{
			get { return login_Email; }
			set { login_Email = value; }
		}
	
		/// <summary>
		/// 	required for redemption of certificate
		/// </summary>
		/// <value>This type is bit</value>
		public bool EmailConfirmed
		{
			get { return emailConfirmed; }
			set { emailConfirmed = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Password
		{
			get { return password; }
			set { password = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Firstname
		{
			get { return firstname; }
			set { firstname = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Lastname
		{
			get { return lastname; }
			set { lastname = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Title
		{
			get { return title; }
			set { title = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is char</value>
		public string Gender
		{
			get { return gender; }
			set { gender = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int OrderPlacedToDate
		{
			get { return orderPlacedToDate; }
			set { orderPlacedToDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is money</value>
		public decimal AmtSpentToDate
		{
			get { return amtSpentToDate; }
			set { amtSpentToDate = value; }
		}
	
		/// <summary>
		/// 	Balance of current account credit
		/// </summary>
		/// <value>This type is money</value>
		public decimal CreditBalance
		{
			get { return creditBalance; }
			set { creditBalance = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int PointBalance
		{
			get { return pointBalance; }
			set { pointBalance = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int VisitCount
		{
			get { return visitCount; }
			set { visitCount = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int Hits
		{
			get { return hits; }
			set { hits = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime LastVisit
		{
			get { return lastVisit; }
			set { lastVisit = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime DateOpen
		{
			get { return dateOpen; }
			set { dateOpen = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string WLShareCode
		{
			get { return wLShareCode; }
			set { wLShareCode = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int WLShareCount
		{
			get { return wLShareCount; }
			set { wLShareCount = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool SurveySent
		{
			get { return surveySent; }
			set { surveySent = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool IsDelete
		{
			get { return isDelete; }
			set { isDelete = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool IsActive
		{
			get { return isActive; }
			set { isActive = value; }
		}
	
		/// <summary>
		/// 	temporary field to check if required shipping recalculation
		/// </summary>
		/// <value>This type is bit</value>
		public bool ShipReCalc
		{
			get { return shipReCalc; }
			set { shipReCalc = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int MainGroupID
		{
			get { return mainGroupID; }
			set { mainGroupID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int SubGroupID
		{
			get { return subGroupID; }
			set { subGroupID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int DomainID
		{
			get { return domainID; }
			set { domainID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string City
		{
			get { return city; }
			set { city = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Country
		{
			get { return country; }
			set { country = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Aboutme
		{
			get { return aboutme; }
			set { aboutme = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Nickname
		{
			get { return nickname; }
			set { nickname = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int AucTransToDate
		{
			get { return aucTransToDate; }
			set { aucTransToDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string State
		{
			get { return state; }
			set { state = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum a_Users_SColumns
	{
		UserID,
		CookieID,
		Login_Email,
		EmailConfirmed,
		Password,
		Firstname,
		Lastname,
		Title,
		Gender,
		OrderPlacedToDate,
		AmtSpentToDate,
		CreditBalance,
		PointBalance,
		VisitCount,
		Hits,
		LastVisit,
		DateOpen,
		WLShareCode,
		WLShareCount,
		SurveySent,
		IsDelete,
		IsActive,
		ShipReCalc,
		MainGroupID,
		SubGroupID,
		DomainID,
		City,
		Country,
		Aboutme,
		Nickname,
		AucTransToDate,
		State
	}//End enum
}